.class public abstract Lcom/vividsolutions/jts/geom/Geometry;
.super Ljava/lang/Object;
.source "Geometry.java"

# interfaces
.implements Ljava/lang/Cloneable;
.implements Ljava/lang/Comparable;
.implements Ljava/io/Serializable;


# static fields
.field static synthetic class$com$vividsolutions$jts$geom$GeometryCollection:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$LineString:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$LinearRing:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$MultiLineString:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$MultiPoint:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$MultiPolygon:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$Point:Ljava/lang/Class; = null

.field static synthetic class$com$vividsolutions$jts$geom$Polygon:Ljava/lang/Class; = null

.field private static final geometryChangedFilter:Lcom/vividsolutions/jts/geom/GeometryComponentFilter;

.field private static final serialVersionUID:J = 0x799ea46522854a3eL

.field private static final sortedClasses:[Ljava/lang/Class;


# instance fields
.field protected SRID:I

.field protected envelope:Lcom/vividsolutions/jts/geom/Envelope;

.field protected final factory:Lcom/vividsolutions/jts/geom/GeometryFactory;

.field private userData:Ljava/lang/Object;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/16 v0, 0x8

    .line 135
    new-array v0, v0, [Ljava/lang/Class;

    sget-object v1, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$Point:Ljava/lang/Class;

    if-nez v1, :cond_0

    const-string v1, "com.vividsolutions.jts.geom.Point"

    invoke-static {v1}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v1

    sput-object v1, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$Point:Ljava/lang/Class;

    :cond_0
    const/4 v2, 0x0

    aput-object v1, v0, v2

    const/4 v1, 0x1

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiPoint:Ljava/lang/Class;

    if-nez v2, :cond_1

    const-string v2, "com.vividsolutions.jts.geom.MultiPoint"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiPoint:Ljava/lang/Class;

    :cond_1
    aput-object v2, v0, v1

    const/4 v1, 0x2

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$LineString:Ljava/lang/Class;

    if-nez v2, :cond_2

    const-string v2, "com.vividsolutions.jts.geom.LineString"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$LineString:Ljava/lang/Class;

    :cond_2
    aput-object v2, v0, v1

    const/4 v1, 0x3

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$LinearRing:Ljava/lang/Class;

    if-nez v2, :cond_3

    const-string v2, "com.vividsolutions.jts.geom.LinearRing"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$LinearRing:Ljava/lang/Class;

    :cond_3
    aput-object v2, v0, v1

    const/4 v1, 0x4

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiLineString:Ljava/lang/Class;

    if-nez v2, :cond_4

    const-string v2, "com.vividsolutions.jts.geom.MultiLineString"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiLineString:Ljava/lang/Class;

    :cond_4
    aput-object v2, v0, v1

    const/4 v1, 0x5

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$Polygon:Ljava/lang/Class;

    if-nez v2, :cond_5

    const-string v2, "com.vividsolutions.jts.geom.Polygon"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$Polygon:Ljava/lang/Class;

    :cond_5
    aput-object v2, v0, v1

    const/4 v1, 0x6

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiPolygon:Ljava/lang/Class;

    if-nez v2, :cond_6

    const-string v2, "com.vividsolutions.jts.geom.MultiPolygon"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$MultiPolygon:Ljava/lang/Class;

    :cond_6
    aput-object v2, v0, v1

    const/4 v1, 0x7

    sget-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$GeometryCollection:Ljava/lang/Class;

    if-nez v2, :cond_7

    const-string v2, "com.vividsolutions.jts.geom.GeometryCollection"

    invoke-static {v2}, Lcom/vividsolutions/jts/geom/Geometry;->class$(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    sput-object v2, Lcom/vividsolutions/jts/geom/Geometry;->class$com$vividsolutions$jts$geom$GeometryCollection:Ljava/lang/Class;

    :cond_7
    aput-object v2, v0, v1

    sput-object v0, Lcom/vividsolutions/jts/geom/Geometry;->sortedClasses:[Ljava/lang/Class;

    .line 146
    new-instance v0, Lcom/vividsolutions/jts/geom/Geometry$1;

    invoke-direct {v0}, Lcom/vividsolutions/jts/geom/Geometry$1;-><init>()V

    sput-object v0, Lcom/vividsolutions/jts/geom/Geometry;->geometryChangedFilter:Lcom/vividsolutions/jts/geom/GeometryComponentFilter;

    return-void
.end method

.method public constructor <init>(Lcom/vividsolutions/jts/geom/GeometryFactory;)V
    .locals 1

    .line 172
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 245
    iput-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->userData:Ljava/lang/Object;

    .line 173
    iput-object p1, p0, Lcom/vividsolutions/jts/geom/Geometry;->factory:Lcom/vividsolutions/jts/geom/GeometryFactory;

    .line 174
    invoke-virtual {p1}, Lcom/vividsolutions/jts/geom/GeometryFactory;->getSRID()I

    move-result p1

    iput p1, p0, Lcom/vividsolutions/jts/geom/Geometry;->SRID:I

    return-void
.end method

.method static synthetic class$(Ljava/lang/String;)Ljava/lang/Class;
    .locals 1

    .line 136
    :try_start_0
    invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    move-exception p0

    new-instance v0, Ljava/lang/NoClassDefFoundError;

    invoke-virtual {p0}, Ljava/lang/ClassNotFoundException;->getMessage()Ljava/lang/String;

    move-result-object p0

    invoke-direct {v0, p0}, Ljava/lang/NoClassDefFoundError;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private createPointFromInternalCoord(Lcom/vividsolutions/jts/geom/Coordinate;Lcom/vividsolutions/jts/geom/Geometry;)Lcom/vividsolutions/jts/geom/Point;
    .locals 1

    .line 1486
    invoke-virtual {p2}, Lcom/vividsolutions/jts/geom/Geometry;->getPrecisionModel()Lcom/vividsolutions/jts/geom/PrecisionModel;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vividsolutions/jts/geom/PrecisionModel;->makePrecise(Lcom/vividsolutions/jts/geom/Coordinate;)V

    .line 1487
    invoke-virtual {p2}, Lcom/vividsolutions/jts/geom/Geometry;->getFactory()Lcom/vividsolutions/jts/geom/GeometryFactory;

    move-result-object p2

    invoke-virtual {p2, p1}, Lcom/vividsolutions/jts/geom/GeometryFactory;->createPoint(Lcom/vividsolutions/jts/geom/Coordinate;)Lcom/vividsolutions/jts/geom/Point;

    move-result-object p1

    return-object p1
.end method

.method private getClassSortIndex()I
    .locals 3

    const/4 v0, 0x0

    .line 1475
    :goto_0
    sget-object v1, Lcom/vividsolutions/jts/geom/Geometry;->sortedClasses:[Ljava/lang/Class;

    array-length v2, v1

    if-ge v0, v2, :cond_1

    .line 1476
    aget-object v1, v1, v0

    invoke-virtual {v1, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    return v0

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 1480
    :cond_1
    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

    const-string v1, "Class not supported: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/vividsolutions/jts/util/Assert;->shouldNeverReachHere(Ljava/lang/String;)V

    const/4 v0, 0x0

    goto :goto_2

    :goto_1
    throw v0

    :goto_2
    goto :goto_1
.end method

.method protected static hasNonEmptyElements([Lcom/vividsolutions/jts/geom/Geometry;)Z
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 195
    :goto_0
    array-length v2, p0

    if-ge v1, v2, :cond_1

    .line 196
    aget-object v2, p0, v1

    invoke-virtual {v2}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_0

    const/4 p0, 0x1

    return p0

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v0
.end method

.method protected static hasNullElements([Ljava/lang/Object;)Z
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 211
    :goto_0
    array-length v2, p0

    if-ge v1, v2, :cond_1

    .line 212
    aget-object v2, p0, v1

    if-nez v2, :cond_0

    const/4 p0, 0x1

    return p0

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v0
.end method


# virtual methods
.method public buffer(D)Lcom/vividsolutions/jts/geom/Geometry;
    .locals 0

    .line 967
    invoke-static {p0, p1, p2}, Lcom/vividsolutions/jts/operation/buffer/BufferOp;->bufferOp(Lcom/vividsolutions/jts/geom/Geometry;D)Lcom/vividsolutions/jts/geom/Geometry;

    move-result-object p1

    return-object p1
.end method

.method protected checkNotGeometryCollection(Lcom/vividsolutions/jts/geom/Geometry;)V
    .locals 1

    .line 1392
    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object p1

    const-string v0, "com.vividsolutions.jts.geom.GeometryCollection"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 1393
    :cond_0
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "This method does not support GeometryCollection arguments"

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public clone()Ljava/lang/Object;
    .locals 3

    .line 1253
    :try_start_0
    invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vividsolutions/jts/geom/Geometry;

    .line 1254
    iget-object v1, v0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;

    if-eqz v1, :cond_0

    new-instance v1, Lcom/vividsolutions/jts/geom/Envelope;

    iget-object v2, v0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;

    invoke-direct {v1, v2}, Lcom/vividsolutions/jts/geom/Envelope;-><init>(Lcom/vividsolutions/jts/geom/Envelope;)V

    iput-object v1, v0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;
    :try_end_0
    .catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    return-object v0

    .line 1258
    :catch_0
    invoke-static {}, Lcom/vividsolutions/jts/util/Assert;->shouldNeverReachHere()V

    const/4 v0, 0x0

    throw v0
.end method

.method protected compare(Ljava/util/Collection;Ljava/util/Collection;)I
    .locals 2

    .line 1450
    invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object p1

    .line 1451
    invoke-interface {p2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object p2

    .line 1452
    :cond_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 1453
    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Comparable;

    .line 1454
    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Comparable;

    .line 1455
    invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I

    move-result v0

    if-eqz v0, :cond_0

    return v0

    .line 1460
    :cond_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p1

    if-eqz p1, :cond_2

    const/4 p1, 0x1

    return p1

    .line 1463
    :cond_2
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result p1

    if-eqz p1, :cond_3

    const/4 p1, -0x1

    return p1

    :cond_3
    const/4 p1, 0x0

    return p1
.end method

.method public compareTo(Ljava/lang/Object;)I
    .locals 3

    .line 1303
    move-object v0, p1

    check-cast v0, Lcom/vividsolutions/jts/geom/Geometry;

    .line 1304
    invoke-direct {p0}, Lcom/vividsolutions/jts/geom/Geometry;->getClassSortIndex()I

    move-result v1

    invoke-direct {v0}, Lcom/vividsolutions/jts/geom/Geometry;->getClassSortIndex()I

    move-result v2

    if-eq v1, v2, :cond_0

    .line 1305
    invoke-direct {p0}, Lcom/vividsolutions/jts/geom/Geometry;->getClassSortIndex()I

    move-result p1

    invoke-direct {v0}, Lcom/vividsolutions/jts/geom/Geometry;->getClassSortIndex()I

    move-result v0

    sub-int/2addr p1, v0

    return p1

    .line 1307
    :cond_0
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    const/4 p1, 0x0

    return p1

    .line 1310
    :cond_1
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 p1, -0x1

    return p1

    .line 1313
    :cond_2
    invoke-virtual {v0}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 p1, 0x1

    return p1

    .line 1316
    :cond_3
    invoke-virtual {p0, p1}, Lcom/vividsolutions/jts/geom/Geometry;->compareToSameClass(Ljava/lang/Object;)I

    move-result p1

    return p1
.end method

.method protected abstract compareToSameClass(Ljava/lang/Object;)I
.end method

.method protected abstract computeEnvelopeInternal()Lcom/vividsolutions/jts/geom/Envelope;
.end method

.method public contains(Lcom/vividsolutions/jts/geom/Geometry;)Z
    .locals 2

    .line 767
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->getEnvelopeInternal()Lcom/vividsolutions/jts/geom/Envelope;

    move-result-object v0

    invoke-virtual {p1}, Lcom/vividsolutions/jts/geom/Geometry;->getEnvelopeInternal()Lcom/vividsolutions/jts/geom/Envelope;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/vividsolutions/jts/geom/Envelope;->contains(Lcom/vividsolutions/jts/geom/Envelope;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 770
    :cond_0
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->isRectangle()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 771
    move-object v0, p0

    check-cast v0, Lcom/vividsolutions/jts/geom/Polygon;

    invoke-static {v0, p1}, Lcom/vividsolutions/jts/operation/predicate/RectangleContains;->contains(Lcom/vividsolutions/jts/geom/Polygon;Lcom/vividsolutions/jts/geom/Geometry;)Z

    move-result p1

    return p1

    .line 774
    :cond_1
    invoke-virtual {p0, p1}, Lcom/vividsolutions/jts/geom/Geometry;->relate(Lcom/vividsolutions/jts/geom/Geometry;)Lcom/vividsolutions/jts/geom/IntersectionMatrix;

    move-result-object p1

    invoke-virtual {p1}, Lcom/vividsolutions/jts/geom/IntersectionMatrix;->isContains()Z

    move-result p1

    return p1
.end method

.method public abstract getBoundaryDimension()I
.end method

.method public getCentroid()Lcom/vividsolutions/jts/geom/Point;
    .locals 2

    .line 468
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    .line 470
    :cond_0
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->getDimension()I

    move-result v0

    if-nez v0, :cond_1

    .line 472
    new-instance v0, Lcom/vividsolutions/jts/algorithm/CentroidPoint;

    invoke-direct {v0}, Lcom/vividsolutions/jts/algorithm/CentroidPoint;-><init>()V

    .line 473
    invoke-virtual {v0, p0}, Lcom/vividsolutions/jts/algorithm/CentroidPoint;->add(Lcom/vividsolutions/jts/geom/Geometry;)V

    .line 474
    invoke-virtual {v0}, Lcom/vividsolutions/jts/algorithm/CentroidPoint;->getCentroid()Lcom/vividsolutions/jts/geom/Coordinate;

    move-result-object v0

    goto :goto_0

    :cond_1
    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    .line 477
    new-instance v0, Lcom/vividsolutions/jts/algorithm/CentroidLine;

    invoke-direct {v0}, Lcom/vividsolutions/jts/algorithm/CentroidLine;-><init>()V

    .line 478
    invoke-virtual {v0, p0}, Lcom/vividsolutions/jts/algorithm/CentroidLine;->add(Lcom/vividsolutions/jts/geom/Geometry;)V

    .line 479
    invoke-virtual {v0}, Lcom/vividsolutions/jts/algorithm/CentroidLine;->getCentroid()Lcom/vividsolutions/jts/geom/Coordinate;

    move-result-object v0

    goto :goto_0

    .line 482
    :cond_2
    new-instance v0, Lcom/vividsolutions/jts/algorithm/CentroidArea;

    invoke-direct {v0}, Lcom/vividsolutions/jts/algorithm/CentroidArea;-><init>()V

    .line 483
    invoke-virtual {v0, p0}, Lcom/vividsolutions/jts/algorithm/CentroidArea;->add(Lcom/vividsolutions/jts/geom/Geometry;)V

    .line 484
    invoke-virtual {v0}, Lcom/vividsolutions/jts/algorithm/CentroidArea;->getCentroid()Lcom/vividsolutions/jts/geom/Coordinate;

    move-result-object v0

    .line 486
    :goto_0
    invoke-direct {p0, v0, p0}, Lcom/vividsolutions/jts/geom/Geometry;->createPointFromInternalCoord(Lcom/vividsolutions/jts/geom/Coordinate;Lcom/vividsolutions/jts/geom/Geometry;)Lcom/vividsolutions/jts/geom/Point;

    move-result-object v0

    return-object v0
.end method

.method public abstract getCoordinate()Lcom/vividsolutions/jts/geom/Coordinate;
.end method

.method public abstract getCoordinates()[Lcom/vividsolutions/jts/geom/Coordinate;
.end method

.method public abstract getDimension()I
.end method

.method public getEnvelopeInternal()Lcom/vividsolutions/jts/geom/Envelope;
    .locals 1

    .line 570
    iget-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;

    if-nez v0, :cond_0

    .line 571
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->computeEnvelopeInternal()Lcom/vividsolutions/jts/geom/Envelope;

    move-result-object v0

    iput-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;

    .line 573
    :cond_0
    iget-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->envelope:Lcom/vividsolutions/jts/geom/Envelope;

    return-object v0
.end method

.method public getFactory()Lcom/vividsolutions/jts/geom/GeometryFactory;
    .locals 1

    .line 253
    iget-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->factory:Lcom/vividsolutions/jts/geom/GeometryFactory;

    return-object v0
.end method

.method public getGeometryN(I)Lcom/vividsolutions/jts/geom/Geometry;
    .locals 0

    return-object p0
.end method

.method public getNumGeometries()I
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public abstract getNumPoints()I
.end method

.method public getPrecisionModel()Lcom/vividsolutions/jts/geom/PrecisionModel;
    .locals 1

    .line 309
    iget-object v0, p0, Lcom/vividsolutions/jts/geom/Geometry;->factory:Lcom/vividsolutions/jts/geom/GeometryFactory;

    invoke-virtual {v0}, Lcom/vividsolutions/jts/geom/GeometryFactory;->getPrecisionModel()Lcom/vividsolutions/jts/geom/PrecisionModel;

    move-result-object v0

    return-object v0
.end method

.method public abstract isEmpty()Z
.end method

.method public isRectangle()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public relate(Lcom/vividsolutions/jts/geom/Geometry;)Lcom/vividsolutions/jts/geom/IntersectionMatrix;
    .locals 0

    .line 906
    invoke-virtual {p0, p0}, Lcom/vividsolutions/jts/geom/Geometry;->checkNotGeometryCollection(Lcom/vividsolutions/jts/geom/Geometry;)V

    .line 907
    invoke-virtual {p0, p1}, Lcom/vividsolutions/jts/geom/Geometry;->checkNotGeometryCollection(Lcom/vividsolutions/jts/geom/Geometry;)V

    .line 908
    invoke-static {p0, p1}, Lcom/vividsolutions/jts/operation/relate/RelateOp;->relate(Lcom/vividsolutions/jts/geom/Geometry;Lcom/vividsolutions/jts/geom/Geometry;)Lcom/vividsolutions/jts/geom/IntersectionMatrix;

    move-result-object p1

    return-object p1
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .line 935
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geom/Geometry;->toText()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public toText()Ljava/lang/String;
    .locals 1

    .line 946
    new-instance v0, Lcom/vividsolutions/jts/io/WKTWriter;

    invoke-direct {v0}, Lcom/vividsolutions/jts/io/WKTWriter;-><init>()V

    .line 947
    invoke-virtual {v0, p0}, Lcom/vividsolutions/jts/io/WKTWriter;->write(Lcom/vividsolutions/jts/geom/Geometry;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
